import request from '@/utils/request'

// 查询数据表二列表
export function listZcps2(query) {
  return request({
    url: '/manage/zcps2/list',
    method: 'get',
    params: query
  })
}

// 查询数据表二详细
export function getZcps2(XZQYDM) {
  return request({
    url: '/manage/zcps2/' + XZQYDM,
    method: 'get'
  })
}

// 新增数据表二
export function addZcps2(data) {
  return request({
    url: '/manage/zcps2',
    method: 'post',
    data: data
  })
}

// 修改数据表二
export function updateZcps2(data) {
  return request({
    url: '/manage/zcps2',
    method: 'put',
    data: data
  })
}

// 删除数据表二
export function delZcps2(XZQYDM) {
  return request({
    url: '/manage/zcps2/' + XZQYDM,
    method: 'delete'
  })
}
